<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
<head>
<meta charset="UTF-8" />
<title>userList</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="css/login/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/login/main.js"></script>
</head>
<body>

	<div id="login-main" class="text-center">
		<h2 th:text="#{login.title}"></h2>
		<!-- Login Form -->
		<form id="form-login" class="form-horizontal">
			<div class="row">
				<label for="login-userName" class="col-sm-2 control-label">用户名</label>
				<div class="col-sm-10">
					<input type="text" id="login-userName" name="name"
						class="form-control input-lg" placeholder="用户名">
				</div>
			</div>
			<div class="row">
				<label for="login-password" class="col-sm-2 control-label">密码</label>
				<div class="col-sm-10">
					<input type="password" id="login-password" name="password"
						class="form-control input-lg" placeholder="密码">
				</div>
			</div>
			<div class="row">
				<label for="login-verifyCode" class="col-sm-2 control-label">验证码</label>
				<div class="col-sm-5">
					<input type="text" id="login-verifyCode" name="verifyCode"
						class="form-control input-lg" placeholder="验证码">
				</div>
				<div class="col-sm-5">
					<img id="verifyCode" th:alt="#{verifyCode.alt}"
						th:src="#{verifyCode.src}">
				</div>
			</div>
			<div class="form-group form-actions">
				<div class="col-xs-12">
					<button type="submit" id="login_submit"
						class="btn btn-sm btn-primary">登录</button>
				</div>
			</div>
			<div class="form-group login_error_message" style="color: red" >
				<div class="col-xs-12">
					<small th:unless="${message eq null}" th:text="#{${message}}"></small>
				</div>
			</div>
		</form>
		<!-- END Login Form -->

		<h3 th:text="#{hello}"></h3>

	</div>
	
</body>
</html>